package com.xw.dao;

import com.xw.model.PlayRecord;
import com.xw.util.MyMapper;
import com.xw.vo.PlayRecordSonVo;
import com.xw.vo.PlayRecordVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PlayRecordMapper extends MyMapper<PlayRecord> {
    List<PlayRecordVo> findPlayRecordByUserId(@Param("userId") String userId);

    Integer delPlayRecordByUserId(@Param("userId") String userId,@Param("list") List<String> idList);

    List<PlayRecordSonVo> findPlayRecordSonByUserId(@Param("userId") String userId);
}